A stock will be trading sideways & then suddenly it will "gap away" from the cost pattern. There's main types of stock cost gaps: breakaway-gap, continuation-gap, common-gap & exhaustion-gap. Each of these happens at different stages of a stock cost move.